import { JVxeTypes, JVxeColumn } from '/@/components/jeecg/JVxeTable/types';
import { ref,} from 'vue';
export const columns = ref<JVxeColumn[]>([
  {
    title: '显示名称',
    key: 'title',
    type: JVxeTypes.input,
  },
  {
    title: '对齐方式',
    key: 'align',
    type: JVxeTypes.select,
    options: [],
    dictCode: 'align_type',
    defaultValue: 'center',
  },
  {
    title: '单元格宽度',
    key: 'width',
    type: JVxeTypes.input,
  },
  {
    title: '显示顺序',
    key: 'ordinalPosition',
    type: JVxeTypes.inputNumber,
  },
  {
    title: '表单风格',
    key: 'layout',
    type: JVxeTypes.select,
    dictCode: 'codegen_layout',
  },
  {
    title: '查询区域显示',
    key: 'listOperation',
    type: JVxeTypes.checkbox,
    dictCode: 'is_open',
  },
  {
    title: '表格显示',
    key: 'listOperationResult',
    type: JVxeTypes.checkbox,
    dictCode: 'is_open',
  },
  {
    title: '表单显示',
    key: 'createOperation',
    type: JVxeTypes.checkbox,
    dictCode: 'is_open',
  },
  {
    title: '可导入',
    key: 'importFlag',
    type: JVxeTypes.checkbox,
    dictCode: 'is_open',
  },
  {
    title: '可导出',
    key: 'exportFlag',
    type: JVxeTypes.checkbox,
    dictCode: 'is_open',
  },
  {
    title: '可打印',
    key: 'printFlag',
    type: JVxeTypes.checkbox,
    dictCode: 'is_open',
  },
  /* {
    title: '字典值',
    key: 'dictField',
    type: JVxeTypes.input,
  }, */
]);
